<?php
/**************************************************************************************************
| Software Name        : OPENTUBE - Open Source (flex based) Video Sharing Application
| Software Version     : 0.1
| Website              : http://opentube.info
| Blog                 : http://blog.opentube.info
| E-mail               : opentube@googlegroups.com
|
|**************************************************************************************************
| This source file is subject to the LGPL License Agreement, available online at:
| http://www.gnu.org/copyleft/lesser.html
| By using this software, you acknowledge having read this Agreement and agree to be bound thereby.
|
|**************************************************************************************************/
header ('Content-Type:text/xml; charset=utf-8');
include("include/config.php");
include("include/function.php");

    $sql="SELECT * from channel";
    $arr = $conn->Execute($sql);
    $channels = $arr->getrows();
    STemplate::assign('channels', $channels);
    STemplate::display('channels.tpl');
?>
